package com.xmg.p2p.base.service;

import com.xmg.p2p.base.domain.SystemDictionary;
import com.xmg.p2p.base.domain.SystemDictionaryItem;
import com.xmg.p2p.base.query.PageResult;
import com.xmg.p2p.base.query.SysDictQO;

import java.util.List;

public interface ISysDictService {
    PageResult query(SysDictQO qo);

    void saveOrUpdateDict(SystemDictionary dict);

    List<SystemDictionary> selectAllDict();

    PageResult queryItem(SysDictQO qo);

    void saveOrUpdateItem(SystemDictionaryItem item);

    List<SystemDictionaryItem> selectByParentSn(String parentSn);
}
